-
Notifications
You must be signed in to change notification settings - Fork 7
Save configuration files in user directory #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
On NixOS, the workaround used in the AUR can't even be used, since the Nix store is mounted read-only. It's not a huge deal, since I can apply a patch like this one. That said, it'd be nice to reach a consensus on where to store the config file so that users only need to be broken at most once. It might be a good idea for the code to check the current directory for config files before using the That said, since the maintainer of this fork seems to be rather busy, maybe it's time for a fork of a fork? :) P.S.: The |
I just merged this change to And maybe I'll find some time to take over the development and add my own changes, we will see 😄 |
|
@SelfRef I currently have a problem where I can't configure using the configure button with your aur package I am worried it might be because 86boxManagerX is way behind the upstream branch that or something is wrong with your AUR package |
That's odd, I was using this package recently. I'll take a look at it tomorrow. You may try to make the package from AUR manually with |
|
I needed to install the dotnet sdk to get it working for some reason that is the only thing I changed |
|
I installed dotnet-sdk-6.0-bin and it started working |
Which AUR package have you used (there are three)? I'll add update dependencies. |
the git version but I think it does the same for the bin as well |
That's interesting - there's .NET 6 in dependencies in |
|
the program crashes on wayland running in the terminal by doing |
|
also there is something with the 86box package on Arch that makes the configure button do nothing when in xcb mode |
Your problem doesn't seem to be related with packaging, but there is an issue in the code. Take into account I'm just packaging this project, not developing it. |
This PR changes location where configuration files are saved and loaded from. Thanks to build-in
SpecialFolder.ApplicationDataenum the config directory is correctly guessed depends of environment so e.g. on Linux it will be~/.configand on Windows%AppData%.Using configuration files in assembly location prevents usage per-user configuration and makes packaging for distributions harder.
I've created Arch Linux packages in AUR (1, 2, 3) and currently the configuration is kept with program files in
/opt/86BoxManagerwhich is a bad practice.